<?php

class LoggedPortlet extends TTemplateControl
{
	public function onLoad($param)
	{
		parent::onLoad($param);
	}
	
	public function logoutButtonClicked($sender,$param)
	{
		$authManager = $this->Application->Modules['auth'];
		$authManager->logout();
		$this->Response->Redirect($this->Service->constructUrl('Home'));
	}
}

?>